public class graduateStudent extends Student{
    String years;
    public graduateStudent() {
    }

    @Override
    public String toString() {
        return "graduateStudent{" +
                "years='" + years + '\'' +
                ", id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
